home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ***********RUN.COM DOCUMENTATION**************
-
- The program RUN.COM is designed for the IBMPC.
-
- I wrote it for two reasons:
-
- Protection from my children while still maintaining
- a usable system, and
-
- Education for myself.
-
- On my home system, I have 4 floppy drives, two forty track and two
- eighty track. The A: drive contains DOS and often used utilities,
- and generally remains in the drive. There is a directory on this
- diskette named DOSUTIL that contains dangerous programs like FORMAT.
- I wanted to keep those programs fairly well hidden but available for
- the knowledgeable. Therefore, I wrote the RUN program that would allow
- things like:
-
- RUN A:/DOSUTIL/FORMAT.COM B: (/ means backslash)
-
- regardless of 'CURRENT DIRECTORY' and 'PATH' settings, and without
- having to find a special diskette.
-
- In any event, I also wanted to puzzle out a few areas of DOS and I
- was successful in that.
-
- Even if this program does not appear very useful to you, it does
- invoke several interesting DOS functions:
-
- SETBLOCK so that the storage management routines can be used.
-
- BUILD FCB.
-
- LOAD AND EXECUTE a DOS program.
-
- RETRIEVE RETURN CODE from executed program.
-
- EXIT TO DOS WITH RETURN CODE in the A-REG.
-
- The assembler code is reasonably well commented, and I hope it is
- educational to you even if it is not useful in its present form.
- If there are any of you out there that are looking for a 'programmer
- workbench,' this may get you started.
-
- In the current version, you must supply the entire filename and extension.
- I have not attempted to perform a search order lookup. Therefore:
-
- RUN C:/COMP/PAS1 does not work, but
-
- RUN C:/COMP/PAS1.EXE does work.
-
- BAT files are not supported.
-
- Do not RUN files that return as a resident extension.
-
-
- Reid Sayre
-
-
-
-